package com.heu.blood.match.exception;/**
 * @author lhh
 * @date 2025-04-22 16:17
 */

import com.heu.blood.globalExceptionHandler.BaseErrorInfoInterface;

/**
 * @author lhh
 * @date 2025-04-22 16:17
 */
public enum TimeException implements BaseErrorInfoInterface {
    TIME_OUTLINE("1333","开始时间不能晚于结束时间");

    TimeException(String resultCode,String resultMsg){
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }

    // 错误码
    private final String resultCode;

    // 错误提示
    private final String resultMsg;
    @Override
    public String getResultCode() {
        return resultCode;
    }

    @Override
    public String getResultMsg() {
        return resultMsg;
    }
}
